<div nz-row>
  <div nz-col [nzOrder]="formOrder" [nzXXl]="12" [nzXl]="12" [nzLg]="24" [nzMd]="24" [nzSm]="24" [nzXs]="24">
    <form [nzLayout]="'horizontal'" nz-form [formGroup]="validateForm" (ngSubmit)="submitForm()">
      <nz-form-item>
        <nz-form-label nzSpan="12" nzFor="meltingPoint">熔点℃</nz-form-label>
        <nz-form-control nzSpan="12" nzErrorTip="熔点">
          <input nz-input formControlName="meltingPoint" id="meltingPoint" placeholder="熔点"/>
        </nz-form-control>
      </nz-form-item>
      <nz-form-item>
        <nz-form-label nzSpan="12" nzFor="boilingPoint">沸点℃</nz-form-label>
        <nz-form-control nzSpan="12" nzErrorTip="沸点">
          <input nz-input formControlName="boilingPoint" id="boilingPoint" placeholder="沸点"/>
        </nz-form-control>
      </nz-form-item>
      <nz-form-item>
        <nz-form-label nzSpan="12" nzFor="densityWater">相对密度(水=1)</nz-form-label>
        <nz-form-control nzSpan="12" nzErrorTip="相对密度">
          <input nz-input formControlName="densityWater" id="densityWater" placeholder="相对密度"/>
        </nz-form-control>
      </nz-form-item>
      <nz-form-item>
        <nz-form-label nzSpan="12" nzFor="densityAir">相对蒸汽密度(空气=1)</nz-form-label>
        <nz-form-control nzSpan="12" nzErrorTip="相对蒸汽密度">
          <input nz-input formControlName="densityAir" id="densityAir" placeholder="相对蒸汽密度"/>
        </nz-form-control>
      </nz-form-item>
      <nz-form-item>
        <nz-form-label nzSpan="12" nzFor="flashPoint">闪点CC</nz-form-label>
        <nz-form-control nzSpan="12" nzErrorTip="闪点">
          <input nz-input formControlName="flashPoint" id="flashPoint" placeholder="闪点"/>
        </nz-form-control>
      </nz-form-item>
      <nz-form-item>
        <nz-form-label nzSpan="12" nzFor="fireTemperature">自燃温度℃</nz-form-label>
        <nz-form-control nzSpan="12" nzErrorTip="自燃温度">
          <input nz-input formControlName="fireTemperature" id="fireTemperature" placeholder="自燃温度"/>
        </nz-form-control>
      </nz-form-item>
      <nz-form-item>
        <nz-form-label nzSpan="12" nzFor="fireHeat">燃烧热（kJ/mol）</nz-form-label>
        <nz-form-control nzSpan="12" nzErrorTip="燃烧热">
          <input nz-input formControlName="fireHeat" id="fireHeat" placeholder="燃烧热"/>
        </nz-form-control>
      </nz-form-item>
      <nz-form-item>
        <nz-form-label nzSpan="12" nzFor="bombUpper">爆炸上线</nz-form-label>
        <nz-form-control nzSpan="12" nzErrorTip="爆炸上线">
          <input nz-input formControlName="bombUpper" id="bombUpper" placeholder="爆炸上线"/>
        </nz-form-control>
      </nz-form-item>
      <nz-form-item>
        <nz-form-label nzSpan="12" nzFor="bombLow">爆炸下限</nz-form-label>
        <nz-form-control nzSpan="12" nzErrorTip="爆炸下限">
          <input nz-input formControlName="bombLow" id="bombLow" placeholder="爆炸下限"/>
        </nz-form-control>
      </nz-form-item>
      <nz-form-item>
        <nz-form-label nzSpan="12" nzFor="fastEffect">急性毒性</nz-form-label>
        <nz-form-control nzSpan="12" nzErrorTip="急性毒性">
          <input nz-input formControlName="fastEffect" id="fastEffect" placeholder="急性毒性"/>
        </nz-form-control>
      </nz-form-item>
      <nz-form-item>
        <nz-form-label nzSpan="12" nzFor="mac">MAC</nz-form-label>
        <nz-form-control nzSpan="12" nzErrorTip="mac">
          <input nz-input formControlName="mac" id="mac" placeholder="mac"/>
        </nz-form-control>
      </nz-form-item>

      <nz-form-item *ngIf="AdminService.isAdmin" nz-row class="register-area">
        <nz-form-control [nzSpan]="12" [nzOffset]="12">
          <button nz-button nzType="primary">确定</button>
        </nz-form-control>
      </nz-form-item>
    </form>
  </div>
</div>
<ng-template #combineTpl let-control>
  <ng-container *ngIf="control.hasError('message')">{{control.errors['message']}}</ng-container>
  <ng-container *ngIf="control.hasError('required')">必填项</ng-container>
</ng-template>



